Telegram Group & Telegram Channel
آیوکلاک (AioClock) یک فریم ورک برای scheduling و یا تسک منیجمنت هست و هر چیزی که هر فریم ورکی نیاز داره رو داخلش داره, مثل دپندسی اینجکشن و startup/stop ایونت, ساپورت از ماژولار کد نوشتن و ...



from aioclock import AioClock, At
import asyncio

app = AioClock()

@app.task(trigger=At(tz="UTC", hour=0, minute=0, second=0))
async def at():
print("This code runs at 0 AM UTC time everyday!")

if __name__ == "__main__":
asyncio.run(app.serve())



دیشب وقت گذاشتم و داکیونتشو خیلی بهتر کردم که کاملا متوجه شید فریم ورک چطوری کار میکنه. تو عکس واضح نیست کامل توصیه میکنم سری به داکیومنت بزنید.

داکیومنت
گیتهاب

اگه این لایبری براتون مفید بود، خوشحال می‌شم اگه بهش استار بدید. این کار به من انگیزه بیشتری برای توسعه و بهبود فریم‌ورک میده. از حمایت‌تون خیلی ممنونم 🙂 🙏


〰️〰️〰️〰️〰️〰️
© @DjangoEx | @PyBackendHub



tg-me.com/djangoex/2533
Create:
Last Update:

آیوکلاک (AioClock) یک فریم ورک برای scheduling و یا تسک منیجمنت هست و هر چیزی که هر فریم ورکی نیاز داره رو داخلش داره, مثل دپندسی اینجکشن و startup/stop ایونت, ساپورت از ماژولار کد نوشتن و ...



from aioclock import AioClock, At
import asyncio

app = AioClock()

@app.task(trigger=At(tz="UTC", hour=0, minute=0, second=0))
async def at():
print("This code runs at 0 AM UTC time everyday!")

if __name__ == "__main__":
asyncio.run(app.serve())



دیشب وقت گذاشتم و داکیونتشو خیلی بهتر کردم که کاملا متوجه شید فریم ورک چطوری کار میکنه. تو عکس واضح نیست کامل توصیه میکنم سری به داکیومنت بزنید.

داکیومنت
گیتهاب

اگه این لایبری براتون مفید بود، خوشحال می‌شم اگه بهش استار بدید. این کار به من انگیزه بیشتری برای توسعه و بهبود فریم‌ورک میده. از حمایت‌تون خیلی ممنونم 🙂 🙏


〰️〰️〰️〰️〰️〰️
© @DjangoEx | @PyBackendHub

BY Django Expert




Share with your friend now:
tg-me.com/djangoex/2533

View MORE
Open in Telegram


Django Expert Telegram | DID YOU KNOW?

Date: |

Telegram announces Anonymous Admins

The cloud-based messaging platform is also adding Anonymous Group Admins feature. As per Telegram, this feature is being introduced for safer protests. As per the Telegram blog post, users can “Toggle Remain Anonymous in Admin rights to enable Batman mode. The anonymized admin will be hidden in the list of group members, and their messages in the chat will be signed with the group name, similar to channel posts.”

Telegram hopes to raise $1bn with a convertible bond private placement

The super secure UAE-based Telegram messenger service, developed by Russian-born software icon Pavel Durov, is looking to raise $1bn through a bond placement to a limited number of investors from Russia, Europe, Asia and the Middle East, the Kommersant daily reported citing unnamed sources on February 18, 2021.The issue reportedly comprises exchange bonds that could be converted into equity in the messaging service that is currently 100% owned by Durov and his brother Nikolai.Kommersant reports that the price of the conversion would be at a 10% discount to a potential IPO should it happen within five years.The minimum bond placement is said to be set at $50mn, but could be lowered to $10mn. Five-year bonds could carry an annual coupon of 7-8%.

Django Expert from ca


Telegram Django Expert
FROM USA